package com.android.baseconfig.common.config;

import okhttp3.MediaType;

/**
 * @author lei
 * @description BaseConstant
 * @date 2018/5/5
 */
public interface BaseConstant {
    String DEVICEID = "deviceId";

    String WIFI_TIMER_STATUS = "wifiTimerStatus";

    int TAB_APP = 0x001;

    int TAB_HARD = 0x002;

    int RESULT_OK = -1;

    int REQUEST_CODE = 0x004;

    int NO_PWD = 0x005;

    int RESULT_DEVICE = 0x006;

    String SEE_STATE = "seeState";

    String WEBSOCKET_PORT = "10003";

    String NETOPEN_IP = "netopenServer";

    int NETOPEN_PORT = 9011;

    String USER_NAME = "user_name";
    String USER_PASS = "user_password";
    String OPERATOR_ID = "operator_id";
    String FORMAT_DAY = "yyyy-MM-dd";

    String SCENE_IMAGE = "scene_image_";

    String ONT_ACCOUNT = "ont_account";
    String ONT_PASSWORD = "ont_password";
    String ONT_PASSWORD_SAVE = "ont_password_save";

    String IS_LOAD_APP_IMG = "is_load_app_img";

    String PLUGIN_LIST_ITEM = "plugin_List_Item";

    int APP_BUY = 1;
    int APP_DOWNLOAD = 2;
    int APP_OPEN = 3;
    int APP_UPGRADE = 4;

    String ACTION_SCENE_CHANGE = "android.intent.action.SCENE_CHANGE";

    String APP_GUIDE_URL = "http://119.29.92.209/about/szsbay_about/guide.html";
    String APP_SHARE_URL = "http://119.29.92.209/about/download.html";

    String HARDWARE_STORE_URL = "http://shop.51szsbay.com/login.jhtml?";
    String HARDWARE_STORE_USER_ID = "userid=";
    String HARDWARE_STORE_AGENT_CODE = "agentcode=";

    public static final int SMART_SCENE_FLAG = 1605;

    String APP_API = "/api/";
    String APP_VER = "v1";
    String APP_URL = "http://119.29.92.209/app";

    String APP_REALEASE_URL = "https://139.159.228.109/openlife";

    public static final MediaType JSON = MediaType.parse("application/json; charset=utf-8");
    public static final MediaType FILE = MediaType.parse("multipart/form-data:file");

    int REQUEST_CODE_FIND_DEVICE = 0x0001;
    int REQUEST_CODE_ADDED_DEVICE = 0x0002;
    int REQUEST_CODE_CATEGORY_MANAGE = 0x0101;
    int REQUEST_CODE_ADD_ROOM = 0x0201;

    interface Key {

        /**
         * 设备bean
         */
        String DEVICE_ITEM = "device_item";
        String CONTROL_INFO = "control_info";
        String MANUFACTURER = "manufacturer";
        String BRAND = "brand";
        /**
         * 产品名称
         */
        String PRODUCT_NAME = "product_name";
        /**
         * 设备sn
         */
        String DEVICE_SN = "device_sn";
        String DEVICE_SN_LIST = "device_sn_list";
        String STORAGE_LIST = "storage_list";

    }

    interface Value {

    }
}
